home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global music
- put the soundLevel into field "VLevel"
- updateStage()
- set the soundLevel to 3
- put "3" into field "amplitude"
- put "540" into field "frequency"
- set DV to 18 * field "amplitude"
- set DH to ((1020 - field "frequency") / 20 * 50) + 452
- spriteBox(3, the left of sprite 3, the locV of sprite 1 + DV - 2, 452 + DH, the locV of sprite 1 - DV - 2)
- put "f =540 Hz, P =0.0018 sec." into field "FD"
- puppetSound(field "frequency" & ".aif")
- updateStage()
- end
-